HEADER GOES HERE

Make A Post
<?php
include('settings.php');
if( $_SERVER['REQUEST_METHOD']=="POST")
{
	$nerfed_content = mysql_real_escape_string($_POST['content']);
	$query = "INSERT INTO posts (threadid, owner, content) VALUES( '$thread', '$userid', '$nerfed_content')";
	$con = mysql_connect(localhost,$sqluser,$sqlpass);
	@mysql_select_db($sqldbase) or die( "Unable to select database");
	$response = mysql_query($query,$con);
	mysql_close($con);
}

?>
<form method="post" name="makeupost">
<table>
<tr>
<td>Content:</td></tr><tr/><td><textarea rows="30" cols="40" name="content"></textarea></td>
</tr>
<tr><td>
<input type="submit" value="Create!"></input></td>
</tr>
</table>
</form>


FOOTER GOES HERE
